package com.sunedai.tiger.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 测试路径匹配
 * @author zhaolipeng
 */
@Controller
@RequestMapping
public class TestPathMatchController {

  @GetMapping("/{companyLink}")
  public String pathAll(@PathVariable String companyLink) {
    return companyLink;
  }

  @GetMapping("/test")
  public String pathTest() {
    return "test";
  }
}
